package net.zjitc.dao;

import net.zjitc.Product;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository("productDao")
public class ProductDaoImpl implements ProductDao{
    @Resource(name = "product")
    private Product product;
    @Override
    public Product findAll() {
        return this.product;
    }
}
